const {SyncHook} = require('../tapable');
debugger;
let hook = new SyncHook(['name']);
hook.tap('1',(name,age)=>{
    console.log(1,name,age)
});
hook.tap('2',(name,age)=>{
    console.log(2,name,age)
});
hook.call('zhufeng',10);
/* 
(function anonymous(name
) {
var _x = this._x;
var _fn0 = _x[0];
_fn0(name);
var _fn1 = _x[1];
_fn1(name,age);

})

 */